package domain;

public class Tax {
	public Long termId;
	public String name;
	public String sulg;
	public String taxonomy;
	@Override
	public boolean equals(Object obj) {
		if(obj instanceof Tax) {
			Tax tax = (Tax) obj;
			if(tax.name.equals(this.name) && tax.taxonomy.equals(this.taxonomy)) {
				return true;
			}
		}
		return false;
	}
	@Override
	public int hashCode() {
		return 0;
	}
}
